package org.tao.lightningmq.broker.timewheel;

import org.tao.lightningmq.common.dto.MessageDTO;
import org.tao.lightningmq.common.dto.MessageRetryDTO;
import org.tao.lightningmq.common.dto.TxMessageDTO;

/**
 * @Author lht
 * @date 2025/1/20 - 13:43
 * @description:
 */
public enum SlotStoreTypeEnum {
    MESSAGE_RETRY_DTO(MessageRetryDTO.class),
    DELAY_MESSAGE_DTO(MessageDTO.class),
    TX_MESSAGE_DTO(TxMessageDTO.class),
    ;
    Class clazz;

    SlotStoreTypeEnum(Class clazz) {
        this.clazz = clazz;
    }

    public Class getClazz() {
        return clazz;
    }
}
